//
//  UIButton+CXBtn.h
//  智积分
//
//  Created by apple on 2018/4/13.
//  Copyright © 2018年 Cynic. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <objc/runtime.h>
typedef void(^BtnEventsBlock)(void);
@interface UIButton (CXBtn)
@property (nonatomic ,copy)BtnEventsBlock CX_BtnEventsBlock;
@property (nonatomic ,retain)UITextField *namelabel;

-(BtnEventsBlock)CX_BtnEventsBlock;
-(void)cx_eventsBlockHandler:(void (^)(void))block forControlEvents:(UIControlEvents)controlEvents;
-(UITextField *)namelabel;
-(void)LoadNamelableWithFrame:(CGRect)frame withFont:(NSInteger)fontsize withTextColor:(UIColor *)hexColor withEditEnabel:(BOOL)editEnabel WithtextAli:(NSTextAlignment)textali;
@end
